{% extends "base.html" %}
{% load crispy_forms_tags %}

{% block title %}Registration{% endblock %}
{% block loggedin %}{% endblock %}
{% block content %}

    <div class="page-content container">
		<div class="row">
			<div class="col-md-4 col-md-offset-4">
				<div class="login-wrapper">
			        <div class="box">
			            <div class="content-wrap">
			                <h6>Sign Up</h6>
			                <form method="post" action="{% url 'registration_register' %}">
                            {% csrf_token %}
                            {{ form|crispy }}
			                <div class="action">
			                    <button type="submit" class="btn btn-primary signup">Register</button>
			                </div>
                            </form>
			            </div>
			        </div>

			        <div class="already">
			            <p>Have an account already?</p>
			            <a href="/accounts/login/">Login</a>
			        </div>
			    </div>
			</div>
		</div>
	</div>
{% endblock %}